package com.aspose.cells;

import java.util.Iterator;

public class ShapeGuideCollection extends CollectionBase {
   int a(ShapeGuide var1) {
      com.aspose.cells.b.a.a.ze.a(this.a, (Object)var1);
      return this.a.size() - 1;
   }

   public ShapeGuide get(int index) {
      return (ShapeGuide)this.a.get(index);
   }

   int a(Object var1) {
      Iterator var2 = this.a.iterator();

      ShapeGuide var3;
      do {
         if (!var2.hasNext()) {
            return 0;
         }

         var3 = (ShapeGuide)var2.next();
      } while(!var3.a().equals(var1));

      return var3.c();
   }
}
